package com.gta.edu.sdk.base.call;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.stereotype.Service;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;

import com.gta.edu.sdk.base.call.callback.UserAuthServerCallBack;

@FeignClient(value="comm-user-auth-server",fallback=UserAuthServerCallBack.class)
@Service
public interface IUserAuthServerCall {
	
	@RequestMapping(value="/comm-user-auth-server/user/getLoginUser",method=RequestMethod.GET)
	public String getLoginUser(@RequestParam("token") String token);
}
